package com.ciwong.epaper.modules.msg.bean;

import java.io.Serializable;

public class Ad implements Serializable {


    /**
     * 广告ID
     */
    int advertiseId;
    /**
     * 服务ID，书籍ID，实际后台也是服务
     */
    int serviceId;
    /**
     * /服务或书本名称
     */
    String serviceName;
    /**
     * 广告名称
     */
    String advertiseName;
    /**
     * 图片地址
     */
    String photo;
    /**
     * 指向地址 1：链向商品 2：链向URL
     */
    int linkType;
    /**
     * 链接地址如：linkType=1时ciwong://5633，linkType=2时http://url
     */
    String linkAddress;
    /**
     * /服务类型：0=服务，1=书籍
     */
    int salesType;

    public int getAdvertiseId() {
        return advertiseId;
    }

    public void setAdvertiseId(int advertiseId) {
        this.advertiseId = advertiseId;
    }

    public int getServiceId() {
        return serviceId;
    }

    public void setServiceId(int serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getAdvertiseName() {
        return advertiseName;
    }

    public void setAdvertiseName(String advertiseName) {
        this.advertiseName = advertiseName;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public int getLinkType() {
        return linkType;
    }

    public void setLinkType(int linkType) {
        this.linkType = linkType;
    }

    public String getLinkAddress() {
        return linkAddress;
    }

    public void setLinkAddress(String linkAddress) {
        this.linkAddress = linkAddress;
    }

    public int getSalesType() {
        return salesType;
    }

    public void setSalesType(int salesType) {
        this.salesType = salesType;
    }
}


